*{
  margin:0;
  padding:0;
}

.container {
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;

  .main {
    flex:1;
    overflow: auto;
  }
  .footer {
    height: 45px;
    background:red;
  }

}